import React, { useMemo } from 'react';
import { createTheme, ThemeProvider } from '@mui/material';

import Web3Providers from '@/components/Web3Providers';

const LayoutBody: React.FC<ILayoutProps> = ({ children }) => {
  return (
    <section className="layout">
      <section>{children}</section>
    </section>
  );
};
interface ILayoutProps {
  children: React.ReactNode;
  location: Location;
}
const Layout: React.FC<ILayoutProps> = (props) => {

  return (
    <Web3Providers>
   
        <LayoutBody {...props} />
   
    </Web3Providers>
  );
};

export default Layout;
